Title: Year 12 / Computer Science / Practical / 11 - Programming / 11.1 - Programming Basics

Q: Write the pseudocode for declaring a variable
A: DECLARE <identifier> : <data type>

Q: Write the pseudocode for assigning a value to a variable
A: <identifier> <- <value>

Q: Write the pseudocode for taking in input
A: INPUT <identifier>

Q: Write the pseudocode required to output to the console
A: OUTPUT <value>

Q: State the symbols used to represent the arithmetic operators in pseudocode
A: + - * /

Q: State the symbols used to represent the logical operators in pseudocode
A: AND, OR, NOT

Q: State the symbols used to represent "equal to" in pseudocode
A: =

Q: State the symbols used to represent "not equal to" in pseudocode
A: <>